package hls

import "fmt"

type HlsRetiever struct {
	Content string
}

func (h *HlsRetiever) String() string {
	return fmt.Sprintf("Contents:%s",h.Content)
}

func (h *HlsRetiever) Post(url string, form map[string]string) string {
	h.Content=form["contents"]
	return "ok"
}

func (h *HlsRetiever) Get(url string) string {
	return h.Content
}


